package com.ruoyi.sale.mapper;

import java.util.List;
import com.ruoyi.sale.domain.ReceiveRecord;

/**
 * 收款记录
Mapper接口
 * 
 * @author h w
 * @date 2022-12-09
 */
public interface ReceiveRecordMapper 
{
    /**
     * 查询收款记录

     * 
     * @param receiveRecordId 收款记录
主键
     * @return 收款记录

     */
    public ReceiveRecord selectReceiveRecordByReceiveRecordId(Long receiveRecordId);

    /**
     * 查询收款记录
列表
     * 
     * @param receiveRecord 收款记录

     * @return 收款记录
集合
     */
    public List<ReceiveRecord> selectReceiveRecordList(ReceiveRecord receiveRecord);

    /**
     * 新增收款记录

     * 
     * @param receiveRecord 收款记录

     * @return 结果
     */
    public int insertReceiveRecord(ReceiveRecord receiveRecord);

    /**
     * 修改收款记录

     * 
     * @param receiveRecord 收款记录

     * @return 结果
     */
    public int updateReceiveRecord(ReceiveRecord receiveRecord);

    /**
     * 删除收款记录

     * 
     * @param receiveRecordId 收款记录
主键
     * @return 结果
     */
    public int deleteReceiveRecordByReceiveRecordId(Long receiveRecordId);

    /**
     * 批量删除收款记录

     * 
     * @param receiveRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReceiveRecordByReceiveRecordIds(Long[] receiveRecordIds);
}
